<?php/** * @copyright 2011 * @version $Id$ * @access public * @author Oriotiori */class Admin_Form_bannercompanyForm extends Zend_Form{    public function __construct($data = null)    {        parent::__construct($data);        $s_Sass = new Zend_Session_Namespace('s_Sass');        $this->setMethod('post')            ->setAttribs(array('class' => 'none'))            ->setName('bannercompany')            ->setEnctype('multipart/form-data')            ->setAction(Zend_Controller_Front::getInstance()->getBaseUrl().DIAG_PATH.'admin'. DIAG_PATH.'settings'. DIAG_PATH . 'viewcompanyimage');        $logo_company= new Zend_Form_Element_File('logo_company');        $logo_company->addValidator('Extension', false, 'jpg,png,gif,jpeg');        ////////////////////////add inputs in view////////////////////////                $this->setElementFilters(array('StringTrim'));        $this->addElements(array($logo_company));            }}